Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from lobehub:main #226

Merged
merged 3 commits into from
Dec 22, 2024
Merged

[pull] main from lobehub:main #226

merged 3 commits into from
Dec 22, 2024

Conversation

pull[bot]
Copy link

@pull pull bot commented Dec 22, 2024

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

Summary by Sourcery

Move pglite to client service.

Enhancements:

  • Move pglite to client service.

Chores:

  • Bump version to 1.37.2.

arvinxx and others added 3 commits December 22, 2024 20:50
* update locale

* update locale

* refactor the service name
### [Version 1.37.2](v1.37.1...v1.37.2)
<sup>Released on **2024-12-22**</sup>

#### ♻ Code Refactoring

- **misc**: Move pglite to client service.

<br/>

<details>
<summary><kbd>Improvements and Fixes</kbd></summary>

#### Code refactoring

* **misc**: Move pglite to client service, closes [#5133](#5133) ([c2ded24](c2ded24))

</details>

<div align="right">

[![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)

</div>
@pull pull bot added the ⤵️ pull label Dec 22, 2024
@pull pull bot merged commit 3bb0d32 into Abaso007:main Dec 22, 2024
Copy link

cr-gpt bot commented Dec 22, 2024

Seems you are using me but didn't get OPENAI_API_KEY seted in Variables/Secrets for this repo. you could follow readme for more information

Copy link

sourcery-ai bot commented Dec 22, 2024

Reviewer's Guide by Sourcery

This pull request implements version 1.37.2 of the Lobe Chat application. The primary change is the relocation of the pglite service to the client service. This addresses issue lobehub#5133.

Class diagram showing service renaming

classDiagram
    class ClientService {
        +constructor(userId: string)
        +methods()
    }

    note for ClientService "Renamed from PGLite to Client Service"

    class Services {
        +file
        +import
        +message
        +plugin
        +session
        +topic
        +user
    }

    Services --> ClientService : uses
Loading

File-Level Changes

Change Details Files
Moved pglite service to client service.
  • Renamed pglite.test.ts to client.test.ts.
  • Updated imports to reference client instead of pglite.
  • Renamed pglite service to client service.
src/services/file/pglite.test.ts
src/services/file/index.ts
src/services/import/pglite.test.ts
src/services/import/index.ts
src/services/message/pglite.test.ts
src/services/message/index.ts
src/services/plugin/index.ts
src/services/session/pglite.test.ts
src/services/session/index.ts
src/services/topic/index.ts
src/services/topic/pglite.test.ts
src/services/user/pglite.test.ts
src/services/user/index.ts
src/services/plugin/pglite.test.ts
Updated version and changelog.
  • Updated version number to 1.37.2 in package.json.
  • Added release notes for version 1.37.2 to CHANGELOG.md.
  • Updated changelog files (v1.json and locales).
CHANGELOG.md
package.json
changelog/v1.json
locales/en-US/common.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants